﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XF.Meeting.Entity.DTO;
using XF.Meeting.Entity.CommonEntity;

namespace XF.Meeting.IDal
{
    public interface IExchangeToDbDal
    {
        Task<(bool, int)> Insert(EmailEntity item, out string s);

        Task<bool> Update(EmailEntity entity, out string s);
        Task<(bool, int)> Cannel(string ItemId);
        int GetUserID(string Mail);
        RoomNameAndEmail GetUserEmail(int id);
        RoomNameAndEmail GetRoomrMailByID(int id);
        int GetRoomrIDByName(string Name);
        List<MeetExchangeItemId> GetMeetExchangeItemIdByID(int id);
    }
}
